package com.domainVO;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author 大忽悠
 * @create 2022/2/13 9:30
 */
@Builder
@Data
@ApiModel("通知类")
public class NoticeVO {

    @ApiModelProperty("触发事件的用户")
    private Integer fromUserId;

    @ApiModelProperty("触发事件的用户名")
    private String fromUserName;

    @ApiModelProperty("触发事件的用户头像")
    private String  fromUserAvatar;


    @ApiModelProperty("接收事件的用户")
    private Integer toUserId;

    @ApiModelProperty("事件类型")
    private String type;

    /**
     * 事件id
     */
    private Integer eventId;

    private  Integer issueId;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;
}
